﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x0200009F RID: 159
	internal class UInt16Int32 : IInt32Decoder
	{
		// Token: 0x0600028E RID: 654 RVA: 0x0000B6CB File Offset: 0x00009ACB
		private UInt16Int32()
		{
		}

		// Token: 0x0600028F RID: 655 RVA: 0x0000B6D3 File Offset: 0x00009AD3
		public int Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 3;
			return (int)bytes[offset + 1] << 8 | (int)bytes[offset + 2];
		}

		// Token: 0x040000C1 RID: 193
		internal static readonly IInt32Decoder Instance = new UInt16Int32();
	}
}
